package com.qf.taobei.service.impl;

import com.qf.taobei.entity.Comment;
import com.qf.taobei.mapper.CommentMapper;
import com.qf.taobei.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 吴彦祖
 * @version 1.0
 * @description: TODO
 * @date 2022/3/4 18:37
 */
@Service
public class CommentServiceImpl implements CommentService {
    @Autowired
    private CommentMapper commentMapper;
    @Override
    public Integer addComment(Comment comment) {
        return commentMapper.addComment(comment);
    }
}
